package com.prs.crm.service.ca.work.impl;

import java.util.Collection;
import java.util.List;

import com.prs.crm.dao.ca.work.ArticleInfoDao;
import com.prs.crm.domain.ca.work.ArticleInfo;
import com.prs.crm.domain.ca.work.ArticleTypes;
import com.prs.crm.service.ca.work.ArticleInfoService;
import com.prs.crm.service.impl.BaseServiceImpl;

public class ArticleInfoServiceImpl extends
		BaseServiceImpl<ArticleInfo, ArticleInfoDao> implements
		ArticleInfoService {



	@Override
	public ArticleInfo getArticleInfo(int aiArticleTypeid) {
		return this.getDao().getArticleInfo(aiArticleTypeid);
	}

	@Override
	public void saveOrArticleInfo(ArticleInfo articleInfo) {
		this.getDao().saveOrArticleInfo(articleInfo);
	}

	@Override
	public List<ArticleInfo> getAllAticleInfo() {
		return this.getDao().getAllArticleInfo();
	}
}
